ca42a7c19ec687a4a4a5ea99d9300b4b0da6f3a0,core/src/main/java/com/github/games647/fastlogin/core/shared/MojangApiConnector.java,MojangApiConnector,getUUIDFromAPI,#String#,119

Before Change



    public UUID getUUIDFromAPI(String playerName) {
        try {
            HttpURLConnection httpConnection = (HttpURLConnection) new URL(MCAPI_UUID_URL + playerName).openConnection();
            httpConnection.addRequestProperty("Content-Type", "application/json");
            httpConnection.setRequestProperty("User-Agent", USER_AGENT);

            if (httpConnection.getResponseCode() == HttpURLConnection.HTTP_NOT_FOUND) {

After Change



    public UUID getUUIDFromAPI(String playerName) {
        try {
            HttpURLConnection httpConnection = getConnection(MCAPI_UUID_URL + playerName);

            if (httpConnection.getResponseCode() == HttpURLConnection.HTTP_NOT_FOUND) {
                //cracked